package interFace;

public class computer {

    public void charge(chargeUtil ChargeUtil){
        ChargeUtil.charge();
    }

    public static void main(String[] args) {

        phone phone = new phone();
        watch watch = new watch();

        computer computer = new computer();
        computer.charge(phone);
        computer.charge(watch);
    }
}
